@font-face{
    font-family: 'icomoon';
    src:  url('../fonts/icomoon.eot?jy3oam');
    src:  url('../fonts/icomoon.eot?jy3oam#iefix') format('embedded-opentype'),
      url('../fonts/icomoon.ttf?jy3oam') format('truetype'),
      url('../fonts/icomoon.woff?jy3oam') format('woff'),
      url('../fonts/icomoon.svg?jy3oam#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}
.w{
    width: 1226px;
    margin: 0 auto;
}
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
a{
    text-decoration: none;
    color: #939393;
}
li{
    list-style: none;
}
span{
    color: #3D3E3E;
}
.container{
    display: flex;
    justify-content: space-between;
    width: 1226px;
    margin: 0 auto;
    a:hover{
        color: #FCFCFC;
    }
    a{
        font-size: 12px;
        line-height: 40px;
    }
}
.site-topbar{
    height: 40px;
    background-color: #333333;
}
.topbar-right{
    position: relative;
   .shopcar-list{
       position: absolute;
       top: 40px;
       left: -62px;
       width: 300px;
       height: 100px;
       background-color: pink;
       box-shadow: 0 0 7px #939393;
       display: none;
       p{
           line-height: 100px;
           text-align: center;
           font-size: 14px;
       }
   }
}
.topbar-cart {
    :hover{
        color: #FF6700;
        background-color: #FFFFFF;
    }
    span{
        display: inline-block;
        width: 100px;
        height: 40px;
        margin-left: 10px;
        color: #939393;
        background-color: #424242;
        :hover .shopcar-list{
        height: 500px;
        }
    }

}
.shopcar::before {
    font-family: 'icomoon';
    content: '\e93a';
    color: #FF6700;
    font-size: 18px;
    margin-left: 13px;
    margin-right: 5px;
}
.container1 {
    display: flex;
    justify-content: space-between;
    padding: 27px 0 20px;
    .header-logo {
        position: relative;
        top: -9px;
        a{
           display: block;
           width: 56px;
           height: 56px;
           background: url(../images/logo-mi2.png) no-repeat;
           background-size: 56px;
        }
    }
    .nav-container{
        display: flex;
        justify-content: center;
        .nav-item{
            padding: 0 10px;
            .nav-title{
                color: black;
                font-size: 18px;
                &:hover{
                    color: #FF6700;
                }
            }
        }
    }
}
.header-search{
    position: relative;
    top: -6px;
    right: 0;
    width: 264px;
    border: 1px solid #E3E3E3;
    &:hover{
        border-color: #FF6700;
    }
    &:hover .search-btn{
        border-color: #FF6700;
    }
    input{
        border: 0;
        outline: none;
        color:#E0E0E0;
        line-height: 50px;
        padding-left: 10px;
        font-size: 14px;
    }
    .search-btn{
        display: block;
        width: 52px;
        height: 56px;
        position: absolute;
        top: -1px;
        right: -1px;
        border: 1px solid #e0e0e0;
        &:hover{
            background-color: #FF6700;
        }
        &:hover span{
            color: #FFFFFF;
        }
        span{
            display: block;
            text-align: center;
            line-height: 56px;
            font-family: 'icomoon';
            font-size: 18px;
        }
    }
}
// 下拉列表
.nav-container{
    .nav-item {
        &:hover .item-children{
            height: 300px;
        }
    }
    .item-children{
        position: absolute;
        top: 137px;
        left: 0;
        width: 100%;
        height: 0;
        background-color: #fff;
        overflow: hidden;
        transition: all .4s;
        box-shadow: -20px 4px 9px #939393;
        z-index: 3;
        ul{
            padding-top: 50px;
            li{
                display: flex;
                justify-content: center;
                a{
                    margin-right: 40px;
                    img{
                        width:150px;
                        height: 150px;
                        margin-right: 15px;
                     }
                     .children-txt{
                         padding-top: 10px;
                         text-align: center;
                         color: black;
                    .ff{
                        color: #FF6700;
                    }
                     }
                }
            }
        }
    }
}
// 中间部分开始
.middle-container-nav{
    display: flex;
    flex-direction: column;
    a{
        display: block;
        width: 100%;
        img{
            width: 100%;
        }
    }
    .middle-nav-list{
        position: absolute;
        top: 143px;
        a{
            display: block;
            width: 230px;
            height: 46px;
            background-color: #9C9A98;
            opacity: 0.8;
            color: #fff;
            font-size: 14px;
            text-decoration: none;
            padding-left: 30px;
            line-height: 40px;
            &:hover{
                background-color: #FF6700;
            }
        }
    }
}
.middle-bottom{
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    .m-left1{
        display: flex;
        flex-wrap: wrap;
        width: 231px;
        height: 170px;
        background-color: #5F5750;
        li{
            &:hover a{
                color: #fff;
            }
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            width: 77px;
            img{
                width: 24px;
                height: 24px;
                color: #B8B4B0;
            }
            a{
                color: #B8B4B0;
                font-size: 14px;
            }
        }
    }
    .m-item1{
        width: 316px;
        height: 170px;
        &:hover{
            box-shadow: 0 5px 15px #939393;
        }
    }
}
.bd{
    width: 100%;
    margin-top: 50px;
    background-color: #F5F5F5;
}
.experstional{
    width: 1226px;
    height: 120px;
    margin: 30px 0;
}
.home-box{
    width: 100%;
    margin-top: 40px;
    .hd-video{
        display: flex;
        justify-content: space-between;
        margin-top: 20px;
        .video-item{
            position: relative;
            width: 296px;
            height: 285px;
            background-color: #FFFFFF;
            transition: all 0.5s;
            &:hover{
                box-shadow: -1px 4px 12px #939393;
                transform: translateY(-5px);
            }
            img{
                width: 296px;
                height: 180px;
                // :hover~元素  改变不相邻的兄弟元素  img 与 play 之间的关系就是不相邻的兄弟关系
                &:hover~.play{
                    border-color: #FF6700;
                    background-color: #FF6700;
                }
            }
            p{
                text-align: center;
                margin-top: 25px;
            }
            .r10x{
               font-size: 14px;
               color: #B8B4B0;
               margin-top: 10px;
            }
            .play{
                position: absolute;
                left: 20px;
                bottom: 118px;
                display: block;
                width: 32px;
                height: 20px;
                border: 2px solid #FFFFFF;
                border-radius: 12px;
                &:hover{
                    border-color: #FF6700;
                    background-color: #FF6700;
                }
                .iconfont-play{
                    position: absolute;
                    top: 1px;
                    left: 8px;
                    font-family: 'icomoon';
                    font-size: 14px;
                    font-style: normal;
                    color:#FFFFFF;
                }
            }
        }
    }
    .box-hd{
        display: flex;
        justify-content: space-between;
        font-size: 24px;
        color: #424242;
        .hd-right {
            font-size: 18px;
            &:hover{
                color: #FF6700;
            }
            em{
                margin-left: 10px;
                font-family: 'icomoon';
                font-style: normal;
            }
        }
        .hd-right1{
            .hd-right1-1{
                font-size: 18px;
                margin-left: 25px;
                padding-bottom: 5px; 
                &:hover{
                    color: #FF6700;
                    border-bottom: 2px solid #FF6700;
                }
            }
        }
    }
    .box-bd{
        margin-top: 10px;
        .row{
            display: flex;
            // justify-content: space-between;
            .bd-left{
                width: 234px;
                height: 614px;
                margin-right: 16px;
                // background-color: transparent;
                img{
                    width: 100%;
                    transition: all 0.5s;
                    &:hover{
                        box-shadow: -1px 4px 12px #939393;
                        transform: translateY(-5px);
                    }
                }
            }
            .bd-left-uq{
                img{
                    width: 234px;
                    height: 300px;
                    &:nth-child(2){
                        margin-top: 10px;
                    }
                }
            }

            .bd-right{
                display: flex;
                flex-direction: row;
                flex-wrap: wrap;
                // 注意这里是换行了 用align-content 这样子间距之间都平均了
                justify-content: space-between;
                align-content: space-between;
                width: 992px;
                height: 614px;
                // perspective: 500px;
                .bd-item-uq-box{
                    width: 234px;
                    height: 300px;
                    // background-color: pink;
                    .bd-uq-slbox{
                        position: relative;
                        height: 143px;
                        margin-bottom: 14px;
                        background-color: #FFFFFF;
                        font-size: 14px;
                        color: black;
                        transition: all 0.5s;
                        &::before{ 
                            content: "";
                            display: block;
                            width: 150px;
                            height: 150px;
                            position: absolute;
                            top: 19px;
                            right: -40px;
                            background: url(../images/charu1.webp) no-repeat;
                            background-size: 91px;
                           
                        }
                        .bd-item-uq-title{
                            width: 119px;
                            font-weight: 400;
                            padding: 30px 0 10px 30px;
                        }
                        .price{
                          padding-left: 30px;
                          color: #FF6700;
                        }
                    }
                    .bd-item-uq-txt1{
                        position: relative;
                        height: 143px;
                        background-color: #FFFFFF;
                        padding: 40px 0 0 30px;
                        transition: all 0.5s;
                        .bd-uq-more{
                            color: black;
                            font-size: 18px;
                            padding-bottom: 5px;
                        }
                        &::before{
                            font-family: 'icomoon';
                            content: '';
                            font-size: 45px;
                            color: #FF6700;
                            position: absolute;
                            top: 44px;
                            right: 30px;
                        }
                    }
                    .bd-item-uq-txt1,
                    .bd-uq-slbox{
                        &:hover{
                            box-shadow: -1px 4px 12px #939393;
                            transform: translateY(-5px);
                        }
                    }
                }
                .bd-item{
                    display: flex;
                    flex-direction: column;
                    // justify-content: csenter;
                    align-items: center;
                    // display: inline-block;
                    width: 234px;
                    height: 300px;
                    background-color: #FFFFFF ;
                    transition: all 0.5s;
                    &:hover{
                        box-shadow: -1px 4px 12px #939393;
                        transform: translateY(-5px);
                    }
                    img{
                        width: 160px;
                        height: 160px;
                        margin-top: 21px;
                    }
                    .bd-txt{
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        margin-top: 15px;
                        h4{
                            color: #333333;
                            font-weight: 400;
                            font-size: 15px;
                        }
                        .bd-txt8100{
                            color: #D3D3D3;
                            font-size: 13px;
                            margin: 3px 0 12px 0;
                        }
                        .bd-txt1999{
                            font-size: 14px;
                            color: #FF6700;
                            em{
                                color: #B0B0B0;
                                font-style: normal;
                                text-decoration: line-through;
                                padding-left: 6px;
                            }
                       } 
                    }
                }
                .bd-item-uq{
                    position: relative;
                    height: 143px;
                    &::before{
                        font-family: 'icomoon';
                        content: '';
                        font-size: 45px;
                        color: #FF6700;
                        position: absolute;
                        top: 44px;
                        right: 37px;
                    }
                   .bd-item-uq-txt{
                       position: absolute;
                       top: 44px;
                       left: 30px;
                    }
                    .bd-uq-more{
                        color: black;
                        font-size: 18px;
                        padding-bottom: 5px;
                    }
                    .bd-uq-hot{
                        font-size: 14px;
                    }
                }
            }
        }
    }
} 
// 尾部部分
// 上部分 第一
.site-footer{
    background-color: #FFFFFF;
}
.footer-service{
    margin-top: 20px;
    ul{
        display: flex;
        padding: 20px 0 20px 0 ;
        border-bottom: 1px solid #c0c0c0;
        // justify-content: space-between;
        li{
        width: 19.8%;
        height: 25px;
        font-size: 16px;
        line-height: 25px;
        text-align: center;
        border-left: 1px solid #c0c0c0;
        &:first-child{
            border-left: 0;
        }
        a{
            color: black;
            transition: all 0.3s;
            &:hover{
                color: #ff6700;
            }
        }
        }
    }
}
// 上部分 下
.footer-links{
    display: flex;
    padding-top:40px ;
    .col-links{
        width: 140px;
        height: 200px;
        margin-right: 22px;
        dt{
            padding-bottom: 20px;
        }
        dd{
            padding-bottom: 10px;
            font-size: 12px;
            &:hover a{
                color: #ff6700;
            }
        }
    }
    .col-contact{
        height: 111px;
        display: flex;
        flex-direction: column;
        align-items: center;
        border-left: 1px solid #E7E7E7;
        padding-left: 40px;
        .phone{
            font-size: 22px;
            color: #FF6700;
        }
        p{
            font-size: 12px;color: #939393;
        }
        .col-btn{
            border: 1px solid #ff6700;
            color: #ff6700;
            &::before{
                font-family: 'icomoon';
                content: '\e910';
            }
        }
        .small-btn{
            display: block;
            width: 118px;
            height: 28px;
            font-size: 12px;
            text-align: center;
            line-height: 28px;
            margin: 8px 0;
        }
        .follow{
            font-size: 12px;
            .wb,
            .wx{
                font-family: 'icomoon';
                font-size: 16px;
            }
        }
    }
}
.site-info{
    margin-top: 20px;
    height: 200px;
    .w{
        display: flex;
    }
    .logo{
        img{
            width: 56px;
            height: 56px;
        }
    }
    .info-text{
        padding-left: 20px;
        .sites{
            font-size: 12px;
            a{
                color: gray;
            }
        }
        .sep{
            color: #B3B6BE;
        }
    }
    p{
        color: #B2B2B2;
        font-size: 12px;
        a{
            &:hover{
                color: #ff6700;
            }
        }
    }
}
.info-links{
    padding: 5px 0 0 74px;
    a{
        img{
            width: auto;
            height: 28px;
        }
    }
}